/*
 * @Author: cq
 * @LastEditors: cq
 * @Date: 2025-10-23 17:17:26
 * @LastEditTime: 2025-10-28 17:31:43
 * @FilePath: \learning-RuoYi\chen-admin\src\main\java\org\chen.admin\chen.adminApplication.java
 */
package org.chen.admin;

import org.chen.common.config.ChenConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableConfigurationProperties(ChenConfig.class)
@ComponentScan(basePackages = {"org.chen.admin", "org.chen.common", "org.chen.framework"})
@MapperScan("org.chen.common.mapper")
public class ChenAdminApplication {

	public static void main(String[] args) {
		System.out.println("==========================================启动成功==========================================");
		SpringApplication.run(ChenAdminApplication.class, args);
	}

}
